package cyou.breathe.blog.folder.domain.entity.convertor;

import cyou.breathe.blog.api.folder.model.FolderVO;
import cyou.breathe.blog.folder.domain.entity.Folder;
import org.mapstruct.Mapper;
import org.mapstruct.NullValueCheckStrategy;
import org.mapstruct.factory.Mappers;

/**
 * @author: breathe
 * @createTime: 2025-09-06
 */
@Mapper(nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface FolderConvertor {
    FolderConvertor INSTANCE = Mappers.getMapper(FolderConvertor.class);

    FolderVO mapToVO (Folder folder);
}
